package com.esunrising.esungsc.entity;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;


@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "T_API_KMTX")
@ApiModel(description = "科目体系")
public  class TApiKmtx extends BaseEntity {

  @Id
  @Column(name = "ID")
  private String id;

  @Column(name = "TREEINFO_ISDETAIL")
  private String treeinfoIsdetail;

  @Column(name = "FIYEAR")
  private String fiyear;

  @Column(name = "TREEINFO_LAYER")
  private String treeinfoLayer;

  @Column(name = "NAME_ES")
  private String nameEs;

  @Column(name = "TIMESTAMP_LASTCHANGEDON")
  private LocalDateTime timestampLastchangedon;

  @Column(name = "TREEINFO_PATH")
  private String treeinfoPath;

  @Column(name = "CODE")
  private String code;

  @Column(name = "TOPPARENTID")
  private String topparentid;

  @Column(name = "NAME_EN")
  private String nameEn;

  @Column(name = "NAME_CHS")
  private String nameChs;

  @Column(name = "TIMESTAMP_CREATEDBY")
  private String timestampCreatedby;

  @Column(name = "PARENTID")
  private String parentid;

  @Column(name = "NAME_CHT")
  private String nameCht;

  @Column(name = "NAME_PT")
  private String namePt;

  @Column(name = "TIMESTAMP_LASTCHANGEDBY")
  private String timestampLastchangedby;

  @Column(name = "TIMESTAMP_CREATEDON")
  private LocalDateTime timestampCreatedon;

  @Column(name = "CODESTRUCT")
  private String codestruct;

}
